﻿using RM.BasicLibrary.Enums;
using RM.BasicLibrary.Resposes;
using System;
using System.Collections.Generic;
using System.Text;

namespace RM.BasicLibrary.Requests
{

    /// <summary>
    /// 返回对象
    /// </summary>
    public class Respose : Data
    {
        /// <summary>
        ///   0x0：成功 0x100000：参数错误  0x200000：业务逻辑错误  0x300000:企业库错误 0x600000:系统错误
        /// </summary>
        public Status Status { get; set; }

        /// <summary>
        /// 返回的中文消息
        /// </summary>
        public string Msg { get; set; }
    }
    /// <summary>
    /// 带集合数据的参数
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Respose<T> : Respose
    {
        /// <summary>
        /// 返回的数据集合
        /// </summary>
        public T Data { get; set; }
    }
}
